<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div class="box" style="height:2000px;"></div>
		<script type="text/javascript">
			document.addEventListener('scroll',function(e){
				console.log('滚动了...');
				console.log('页面被卷的TOP值::'+window.pageYOffset);
			});
		</script>
	</body>
</html>
